@media print {
    body{
        min-width:auto;
        background-color: white !important;
    }
    .main-content.isPrint{
        padding-top: 0;
    }
    .noprint{ display: none; }
    .isPrint>.runtime-form{
        width: 100% !important;
        padding: 0 !important;
    }
    .isPrint>.runtime-form>div{
        height: auto !important;
    
    }
    .preview-design{
        height: fit-content !important;
    }
    .runtime-data-list{
        max-height:unset;
    }
    .isPrint .runtime-data-list{
        max-height:unset;
    }
    .isPrint .table-process-form{
        display: table;/*解决打印子表分页后，thead未正常分页*/
    }
}

.main-content.isPrint{
    padding-top: 50px;
}

body.exportPDF{
    overflow: auto;

    min-width:auto;
    background-color: white !important;
}

.exportPDF .noprint{ display: none; }
.exportPDF {
    width: 728px;
}
.exportPDF .isPrint>.runtime-form{
    width: 728px !important;
    padding: 0 !important;

}
.exportPDF .isPrint>.runtime-form>div{
    height: auto !important;

}


.exportPDF .preview-design{
    height: auto;

    background-color: white;
    /* height: fit-content !important; */
}
.exportPDF .runtime-data-list{
    max-height:unset;
}
.exportPDF .isPrint .runtime-data-list{
    max-height:unset;
}

.exportPDF  .isPrint.main-content{
    height: auto !important;
    background-color: white;
    
}

/*打印公共样式-start*/
/*打印边框色*/
.isPrint .print-border-color{
    border-color: #222;
}
/*打印边框色*/
.isPrint .print-border-1px{
    border-width: 1px;
    border-style: solid;
}
.isPrint .print-border-b-none{
    border-bottom: none;
}
/*打印默认字号*/
.isPrint .text-sm{font-size: 12px}
.isPrint .text-color-666{
    color: #222;
}
/*打印公共样式-end*/

.isPrint.main-content{
    height: auto !important;

}
/* 主表 */
.group>table,
/* 子表 */
.runtime-data-list>table{
    width: 100% !important;
    box-sizing: border-box;
    table-layout: auto !important;
    /* border-collapse: separate !important; */
}

.isPrint .runtime-data-list.mainTable{
    line-height: 1.2;
}
.isPrint .runtime-data-list.mainTable.noData{
    line-height: 1;
    border-bottom: 0;
}
.isPrint .runtime-form .table-process-form th{
    height: 28px;
    font-size: 12px;
}

.isPrint .runtime-form .table-process-form td {
    height: 24px;
    font-size: 12px;
    border-color: #222222;
}

.isPrint .runtime-data-list th,
.isPrint .runtime-data-list.hasBorder:not(.fixed-table),
.isPrint .runtime-data-list-wrapper,
.isPrint .group-title{
    border-color: #222222;
}

.isPrint .tip-content{
    color: black;
}

.isPrint .field-hyperlink {
    color: inherit;
}

/* 打印模式下要求超链接默认为#333, 无下划线 */
.isPrint a {
    color: #333;
    text-decoration: none;
}


.isPrint .title-text {
    /*表单标题*/
    display: flex;
    line-height: 1.5;
    justify-content:center;
    align-items: center;
}

/*相关流程*/
.isPrint .relation_process_wrap{
    padding: 0;
}
.isPrint .relation_process_wrap li{
    padding: 0 6px;
    line-height: 26px;
    
}
.isPrint .relation_process_wrap li:hover{
    background: none;
}
.isPrint .relationProcess .rp_wrap{
    height: 30px;
    line-height: 28px;
    padding-left: 6px;
}
.isPrint .relationProcess .rp_wrap .rp_title{
    font-weight: bold;
}
.isPrint .relationProcess .no_relation_process{
    color: #000;
    padding: 5px;
}

/*附件组件*/
.isPrint .file .name-wen:hover .hover-show{
    display: none;
}
.isPrint .list-drag-con:hover{
    background: none;
}
.isPrint .list-drag-con .name-wen{
    padding-left: 0;
}
.isPrint .name-wen .iconfont{
    color: #999;
}

@page {
    size: A4;
    margin: 12mm 10mm;
    padding: 0;
    font-family: "Wenquanyi Micro Hei", "Microsoft YaHei", Simsun, sans-serif;
}
/*导出pdf样式*/
.frontend-exportPDF .runtime-data-list{
    overflow-y: visible !important;
    max-height: none !important;
}
/* .frontend-exportPDF {position: absolute;left: 0;top: 0;z-index: -100;} */
.frontend-exportPDF .runtime-data-list.mainTable tbody > tr:first-child td,
.frontend-exportPDF .showBorder .group-title,
.frontend-exportPDF .showBorder .runtime-data-list th,
.frontend-exportPDF .showBorder .table-process-form,
.frontend-exportPDF .showBorder .table-process-form td{
    border-color: #222;
}
.frontend-exportPDF .showBorder .runtime-data-list.hasBorder:not(.fixed-table),
.frontend-exportPDF .showBorder .table-process-form td,
.frontend-exportPDF .showBorder .table-process-form th{
    border-width: 0; 
}/*重写正常表单模式的表单宽度*/
.frontend-exportPDF .runtime-data-list.mainTable tbody > tr:first-child td,
.frontend-exportPDF .showBorder .table-process-form td,
.frontend-exportPDF .showBorder .runtime-data-list table,
.frontend-exportPDF .showBorder .table-process-form th{
    border-left-width: 1px; 
    border-left-style: solid;
    border-top-width: 1px;
    border-top-style: solid;
}/*td和th给左上宽度*/
.frontend-exportPDF .showBorder .table-process-form {
    border-right-width: 1px;
    border-right-style: solid;
    border-bottom-width: 1px;
    border-bottom-style: solid;
}/*table给右下宽度*/
